package com.example.myapplication.mroom.database;

import com.example.myapplication.mroom.pojo.StudentRoom;

import java.util.List;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

@Dao
public interface StudentRoomDao {
    @Query("select * from student_room")
    List<StudentRoom> queryFromStu();
    @Insert
    void insertToStu(List<StudentRoom> list);
}
